<?php

require_once '_includes/config.inc.php';

$sitemap = <<<SITEMAP
<?xml version="1.0" encoding="UTF-8"?>

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
        <loc>%s</loc>
        <lastmod>%s</lastmod>
        <changefreq>monthly</changefreq>
        <priority>1</priority>
    </url>
</urlset>
SITEMAP;

echo sprintf($sitemap, BASE_PATH, date('Y-m-d'));